<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <script src="http://cdn.bootcss.com/angular.js/1.6.2/angular.js"></script>
    </head>
    <body>
    <div ng-app="hs" ng-controller="alt">
        <h2 ng-bind="name"></h2>
        <input type="text" ng-model="name"/>
    </div>
    <script>
        var m = angular.module('hs',[]);
        m.controller('alt',['$scope',function($scope){
            $scope.name = '不想说点什么吗？';
        }])
    </script>
    </body>
</html>